package com.zsh.service.impl;

import com.zsh.dao.OrderMasterDao;
import com.zsh.entity.OrderMaster;
import com.zsh.service.OrderMasterService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Created by Administrator on 2018/6/10 0010.
 */
@Service
public class OrderMasterServiceImpl implements OrderMasterService {

    @Autowired
    private OrderMasterDao orderMasterDao;

    @Override
    public List<OrderMaster> findByBuyerName(String buyerName){
        return orderMasterDao.findBybuyerName(buyerName);
    }
}
